﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RequestUpdateTask.aspx.cs"
    Inherits="office_RequestUpdateTask" %>

<%@ Register Src="../UserControls/Calendar.ascx" TagName="Calendar" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>在线申报业务列表</title>
    <link href="../css/page.css" rel="Stylesheet" type="text/css" />
    <script src="../ScriptFile/popcalendar.js" type="text/javascript"></script>
    <script type="text/javascript">
        //打开业务详细信息 addby zhongjian 20091229
        function ViewShenBaoManager(FlowType, iid) {
            var strURL = "../WebPubManager/SerialShenBaoManager.aspx?FlowType=" + FlowType + "&iid=" + iid;
            window.open(strURL, 'viewer', "fullscreen=1,scrollbars=0;");
        }

        //清空查询条件
        function Cleaner() {
            document.form1.ddlFlow.selectedIndex = 0;
            document.form1.txtIID.value = "";
            document.form1.txtName.value = "";
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center; margin: 0px auto;" class="page_box">
        <table width="98%" border="0" align="center" id="tableQuery">
            <tr>
                <td>
                    <asp:Label ID="lblError" runat="server" Text="" Visible="false"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    申请编号：
                    <input maxlength="100" size="15" id="txtIID" name="txtIID" value="" runat="server" />
                    流程类型：<asp:DropDownList ID="ddlFlow" runat="server">
                    </asp:DropDownList>
                    申请人：
                    <input maxlength="100" size="15" id="txtName" name="txtName" value="" runat="server" />
                    <asp:Button ID="btnQuery" runat="server" Text="查询" class="NewButton" OnClick="btnQuery_Click" />
                    <input id="btnCleaner" type="button" value="重置" onclick="Cleaner()" class="NewButton" />
                </td>
            </tr>
        </table>
        <controlDefine:CustomGridView ID="gridviewCar" runat="server" AllowPaging="True"
            Width="100%" HideTextLength="30" AutoGenerateColumns="False" ShowCmpAndCancel="True"
            AllowOnMouseOverEvent="False" ShowItemNumber="true" AutoGenerateDeleteConfirm="True"
            SkinID="List" CustomSortExpression="" AllowSortingAscImgCss="" AllowSortingDescImgCss=""
            ShowHideColModel="None" OnOnLoadData="recvgrid_OnLoadData" ShowGridViewSelect="List"
            OnRowCreated="gridviewCar_RowCreated">
            <PagerSettings Visible="False" />
            <Columns>
                <asp:TemplateField HeaderText="申请编号">
                    <ItemTemplate>
                        <a href='../WebPubManager/SerialShenBaoManager.aspx?iid=<%# Eval("iid")%>&UserName=<%#Eval("requester")%>&FlowName=<%# Eval("FLOWNAME") %>&Business=<%#ViewState["BusinessFlag"] %>'>
                            <%# Eval("iid")%></a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="flowtype" HeaderText="流程类型" />
                <asp:BoundField DataField="requester" HeaderText="申请人" />
                <asp:BoundField DataField="edittime" HeaderText="申请日期" />
                <asp:TemplateField HeaderText="受理">
                    <ItemTemplate>
                        <asp:HyperLink ID="hlBg" runat="server">变更</asp:HyperLink>
                        <asp:HyperLink ID="hlYq" runat="server">延期</asp:HyperLink>
                        <asp:HyperLink ID="hlCx" runat="server">撤销</asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </controlDefine:CustomGridView>
    </div>
    </form>
</body>
</html>
